package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 护理任务分页vo
 *
 * @Author nmy
 * @Date 2025/10/29 19:49
 */
@Data
public class NursingTaskPageVo {
    /**
     * 护理任务ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 床位编号
     */
    @ApiModelProperty(value = "床位编号")
    private String bedNumber;


    /**
     * 老人id
     */
    @ApiModelProperty(value = "老人id")
    private Long elderId;

    /**
     * 老人姓名
     */
    @ApiModelProperty(value = "老人姓名")
    private String elderName;

    /**
     * 预计服务时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计服务时间")
    private LocalDateTime estimatedServerTime;


    /**
     * 护理员id
     */
    @ApiModelProperty(value = "护理员id")
    private String nursingId;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;

    /**
     * 护理项目名称
     */
    @ApiModelProperty(value = "护理项目名称")
    private String projectName;


    /**
     * 状态：1.待执行 2.已执行 3.已关闭
     */
    @ApiModelProperty(value = "状态：1.待执行 2.已执行 3.已关闭")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private List<String> nursingName;
}
